package org.codeart.map.service;

import org.codeart.map.remote.MapServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MapService {
    
    @Autowired
    private MapServiceClient mapServiceClient;

    /**
     * 根据名称创建服务
     * @param name
     * @return
     */
    public Integer add(String name) {
        return mapServiceClient.addTrackService(name);
    }

}
